﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
//using Encryption;
using KK;
public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
       
            
            /*
       
       */
string abc = Request.QueryString["ten"];
       lblTen.Text = abc;
            Response.Write(Server.HtmlEncode("<div><b>Kiennnit</b></div>"));

        }catch(Exception exx){}

    }

    /// <summary>
    /// Automatically calculates the editor base path based on the _samples
    /// directory. This is usefull only for these samples. A real application
    /// should use something like this instead:
    /// <code>
    /// FCKeditor1.BasePath = "/fckeditor/" ;	// "/fckeditor/" is the default value.
    /// </code>
    /// </summary>
    private string GetBasePath()
    {
        string path = Request.Url.AbsolutePath;
        int index = path.LastIndexOf("_samples");
        return path.Remove(index, path.Length - index);
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        TextBox2.Text = KK.KKCommon.DocSoTien(TextBox1.Text);
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        //TextBox3.Text = EncryptionClass.encrypt(TextBox3.Text, "");
    }
    protected void Button3_Click(object sender, EventArgs e)
    {

        //TextBox4.Text = EncryptionClass.decrypt(TextBox3.Text, "");
    }
}
